<?php
require("top.ajax.php");
if(isset($_GET['total'])) $tpl->assign("total",$_GET['total'] );
if(isset($_GET['min'])) $tpl->assign("min",$_GET['min'] );
if(isset($_GET['value'])) $tpl->assign("reduction",$_GET['value']);
$tpl->assign("error", $_GET['error']);
$tpl->display("ajax/cart_error.tpl");
switch($_GET['error']){
    case 'both':
        unset($_SESSION['cart']['sponsorship']);
        unset($_SESSION['cart']['reduction_code']);
        break;
}

?>